Partially address a FIXME in steady_clock::now() http://reviews.llvm.org/D4045 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@216949 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/include/__config b/include/__config index b75176c..2eb9e55 100644 --- a/include/__config +++ b/include/__config 
@@ -650,6 +650,11 @@  # define _LIBCPP_TRIVIAL_PAIR_COPY_CTOR 1  #endif   +#if (!defined(_POSIX_TIMERS) || _POSIX_TIMERS <= 0) || \ + (!defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK <= 0) +#define _LIBCPP_HAS_NO_MONOTONIC_CLOCK +#endif +  #ifndef _LIBCPP_STD_VER  # if __cplusplus <= 201103L  # define _LIBCPP_STD_VER 11 
diff --git a/include/chrono b/include/chrono index 2c65eee..9229234 100644 --- a/include/chrono +++ b/include/chrono 
@@ -926,6 +926,7 @@  static time_point from_time_t(time_t __t) _NOEXCEPT;  };   +#ifndef _LIBCPP_HAS_NO_MONOTONIC_CLOCK  class _LIBCPP_TYPE_VIS steady_clock  {  public: @@ -939,6 +940,9 @@  };    typedef steady_clock high_resolution_clock; +#else +typedef system_clock high_resolution_clock; +#endif    } // chrono